/**
 * TwisterDescription.java
 * jCOLIBRI2 framework. 
 * @author Dmitry
 */

import jcolibri.cbrcore.Attribute;
import jcolibri.datatypes.Instance;

/**
 * Bean that stores the description of the case.
 * 
 * @author Juan A. Recio-Garcia
 * @version 1.0
 */
public class TwisterDescription implements jcolibri.cbrcore.CaseComponent {
	
	Instance  mainConcept;
	Instance  AtmosphericFronts;
    Instance  DayTime;
    Instance  Happened;
    Instance  Humidity;
    Instance  Location;
    Instance  Overcast;
    Instance  PressureDynamic;
    Instance  Temperature;
    
	
    public Instance getTemperature() { return Temperature; }
	public void setTemperature(Instance a) { Temperature = a; }
    public Instance getPressureDynamic() { return PressureDynamic; }
	public void setPressureDynamic(Instance a) { PressureDynamic = a; }
    public Instance getOvercast() { return Overcast; }
	public void setOvercast(Instance a) { Overcast = a; }
    public Instance getLocation() { return Location; }
	public void setLocation(Instance a) { Location = a; }
	public Instance getHumidity() { return Humidity; }
	public void setHumidity(Instance a) { Humidity = a; }
    public Instance getHappened() { return Happened; }
	public void setHappened(Instance a) { Happened = a; }
    public Instance getDayTime() { return DayTime; }
	public void setDayTime(Instance a) { DayTime = a; }
	public Instance getAtmosphericFronts() { return AtmosphericFronts; }
	public void setAtmosphericFronts(Instance a) { AtmosphericFronts = a; }
    
    
	public String toString()
	{
		return "("+AtmosphericFronts+";"+DayTime+";"+Happened+";"+Humidity+";"+Location+";"+Overcast+";"+PressureDynamic+";"+Temperature+")";
	}
	/**
	 * @return the caseId
	 */
	public Instance getCaseId() {
		return mainConcept;
	}
	/**
	 * @param mc the main concept to set
	 */
	public void setMainConcept(Instance mc) {
		this.mainConcept = mc;
	}
    
    /**
	 * @return Returns the mainConcept.
	 */
	public Instance getMainConcept() {
		return mainConcept;
	}
    public Attribute getIdAttribute() {
		return new Attribute("mainConcept", this.getClass());
	}
    

}
